import React from 'react';

import {start, connect} from '../../../../hrpub/common/frame';

import HomePage from '../container';
import model from '../model/model';
import instance from './instance';
import {handleHash} from 'src/hrpub/common/utils/utils';
class Box extends React.Component {
    constructor(props) {
        super(props);
    }

    render() {
        return (
            <HomePage
                {...this.props}
                ref={ref => instance.pageIns = ref}
            />
        )
    }
}

const Wrapper = connect(handleHash('2019', 'c=60092060&p=60092060nccloud')(Box));

start({
    root: document.getElementById('app'),
    component: <Wrapper />,
    model: [model]
});